/**
 * Copyright (c) 2015-2017, Henry Yang 杨勇 (gismail@foxmail.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.lambkit.module.pay.rpc.model.sql;

import com.lambkit.db.sql.ConditionMode;
import com.lambkit.db.sql.column.Column;
import com.lambkit.db.sql.column.Columns;
import com.lambkit.db.sql.column.Example;

import java.io.Serializable;
import java.util.List;

/**
 * @author Henry 杨勇 (孤竹行) 
 * @website: www.lambkit.com
 * @email: gismail@foxmail.com
 * @date 2019-11-05
 * @version 1.0
 * @since 1.0
 */
public class PayInOrderDetailCriteria extends Columns implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public static PayInOrderDetailCriteria create() {
		return new PayInOrderDetailCriteria();
	}
	
	public static PayInOrderDetailCriteria create(Column column) {
		PayInOrderDetailCriteria that = new PayInOrderDetailCriteria();
		that.add(column);
        return that;
    }

    public static PayInOrderDetailCriteria create(String name, Object value) {
        return (PayInOrderDetailCriteria) create().eq(name, value);
    }
    
    public Example example() {
    	return Example.create("pay_in_order_detail", this);
    }
    
    /**
     * equals
     *
     * @param name
     * @param value
     * @return
     */
    public PayInOrderDetailCriteria eq(String name, Object value) {
    	super.eq(name, value);
        return this;
    }

    /**
     * not equals !=
     *
     * @param name
     * @param value
     * @return
     */
    public PayInOrderDetailCriteria ne(String name, Object value) {
    	super.ne(name, value);
        return this;
    }


    /**
     * like
     *
     * @param name
     * @param value
     * @return
     */

    public PayInOrderDetailCriteria like(String name, Object value) {
    	super.like(name, value);
        return this;
    }
    
    public PayInOrderDetailCriteria notLike(String name, Object value) {
    	super.notLike(name, value);
        return this;
    }

    /**
     * 大于 great than
     *
     * @param name
     * @param value
     * @return
     */
    public PayInOrderDetailCriteria gt(String name, Object value) {
    	super.gt(name, value);
        return this;
    }

    /**
     * 大于等于 great or equal
     *
     * @param name
     * @param value
     * @return
     */
    public PayInOrderDetailCriteria ge(String name, Object value) {
    	super.ge(name, value);
        return this;
    }

    /**
     * 小于 less than
     *
     * @param name
     * @param value
     * @return
     */
    public PayInOrderDetailCriteria lt(String name, Object value) {
    	super.lt(name, value);
        return this;
    }

    /**
     * 小于等于 less or equal
     *
     * @param name
     * @param value
     * @return
     */
    public PayInOrderDetailCriteria le(String name, Object value) {
    	super.le(name, value);
        return this;
    }
    
    public PayInOrderDetailCriteria isnull(String name) {
    	super.isnull(name);
        return this;
    } 

    public PayInOrderDetailCriteria notNull(String name) {
    	super.notNull(name);
        return this;
    } 
    
    public PayInOrderDetailCriteria empty(String name) {
    	super.empty(name);
        return this;
    } 
    
    public PayInOrderDetailCriteria notEmpty(String name) {
    	super.notEmpty(name);
        return this;
    } 
    
    public PayInOrderDetailCriteria add(Column column) {
    	super.add(column);
    	return this;
    }
    
    /**************************/
	
	public void addCriterion(String name, Object value, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value == null) {
			 throw new RuntimeException("Value for " + property + " cannot be null");
		 }
		 add(Column.create(name, value, logic, typeHandler, valueType));
	}
   
	public void addCriterion(String name, Object value1, Object value2, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value1 == null || value2 == null) {
			 throw new RuntimeException("Between values for " + property + " cannot be null");
		 }
		 add(Column.create(name, value1, value2, logic, typeHandler, valueType));
	}
		 
	public PayInOrderDetailCriteria andPayInOrderDetailIdIsNull() {
		isnull("pay_in_order_detail_id");
		return this;
	}
	
	public PayInOrderDetailCriteria andPayInOrderDetailIdIsNotNull() {
		notNull("pay_in_order_detail_id");
		return this;
	}
	
	public PayInOrderDetailCriteria andPayInOrderDetailIdIsEmpty() {
		empty("pay_in_order_detail_id");
		return this;
	}

	public PayInOrderDetailCriteria andPayInOrderDetailIdIsNotEmpty() {
		notEmpty("pay_in_order_detail_id");
		return this;
	}
       public PayInOrderDetailCriteria andPayInOrderDetailIdEqualTo(java.lang.Long value) {
          addCriterion("pay_in_order_detail_id", value, ConditionMode.EQUAL, "payInOrderDetailId", "java.lang.Long", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andPayInOrderDetailIdNotEqualTo(java.lang.Long value) {
          addCriterion("pay_in_order_detail_id", value, ConditionMode.NOT_EQUAL, "payInOrderDetailId", "java.lang.Long", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andPayInOrderDetailIdGreaterThan(java.lang.Long value) {
          addCriterion("pay_in_order_detail_id", value, ConditionMode.GREATER_THEN, "payInOrderDetailId", "java.lang.Long", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andPayInOrderDetailIdGreaterThanOrEqualTo(java.lang.Long value) {
          addCriterion("pay_in_order_detail_id", value, ConditionMode.GREATER_EQUAL, "payInOrderDetailId", "java.lang.Long", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andPayInOrderDetailIdLessThan(java.lang.Long value) {
          addCriterion("pay_in_order_detail_id", value, ConditionMode.LESS_THEN, "payInOrderDetailId", "java.lang.Long", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andPayInOrderDetailIdLessThanOrEqualTo(java.lang.Long value) {
          addCriterion("pay_in_order_detail_id", value, ConditionMode.LESS_EQUAL, "payInOrderDetailId", "java.lang.Long", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andPayInOrderDetailIdBetween(java.lang.Long value1, java.lang.Long value2) {
    	  addCriterion("pay_in_order_detail_id", value1, value2, ConditionMode.BETWEEN, "payInOrderDetailId", "java.lang.Long", "Float");
    	  return this;
      }

      public PayInOrderDetailCriteria andPayInOrderDetailIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
          addCriterion("pay_in_order_detail_id", value1, value2, ConditionMode.NOT_BETWEEN, "payInOrderDetailId", "java.lang.Long", "Float");
          return this;
      }
        
      public PayInOrderDetailCriteria andPayInOrderDetailIdIn(List<java.lang.Long> values) {
          addCriterion("pay_in_order_detail_id", values, ConditionMode.IN, "payInOrderDetailId", "java.lang.Long", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andPayInOrderDetailIdNotIn(List<java.lang.Long> values) {
          addCriterion("pay_in_order_detail_id", values, ConditionMode.NOT_IN, "payInOrderDetailId", "java.lang.Long", "Float");
          return this;
      }
	public PayInOrderDetailCriteria andPayInOrderIdIsNull() {
		isnull("pay_in_order_id");
		return this;
	}
	
	public PayInOrderDetailCriteria andPayInOrderIdIsNotNull() {
		notNull("pay_in_order_id");
		return this;
	}
	
	public PayInOrderDetailCriteria andPayInOrderIdIsEmpty() {
		empty("pay_in_order_id");
		return this;
	}

	public PayInOrderDetailCriteria andPayInOrderIdIsNotEmpty() {
		notEmpty("pay_in_order_id");
		return this;
	}
       public PayInOrderDetailCriteria andPayInOrderIdEqualTo(java.lang.Integer value) {
          addCriterion("pay_in_order_id", value, ConditionMode.EQUAL, "payInOrderId", "java.lang.Integer", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andPayInOrderIdNotEqualTo(java.lang.Integer value) {
          addCriterion("pay_in_order_id", value, ConditionMode.NOT_EQUAL, "payInOrderId", "java.lang.Integer", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andPayInOrderIdGreaterThan(java.lang.Integer value) {
          addCriterion("pay_in_order_id", value, ConditionMode.GREATER_THEN, "payInOrderId", "java.lang.Integer", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andPayInOrderIdGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("pay_in_order_id", value, ConditionMode.GREATER_EQUAL, "payInOrderId", "java.lang.Integer", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andPayInOrderIdLessThan(java.lang.Integer value) {
          addCriterion("pay_in_order_id", value, ConditionMode.LESS_THEN, "payInOrderId", "java.lang.Integer", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andPayInOrderIdLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("pay_in_order_id", value, ConditionMode.LESS_EQUAL, "payInOrderId", "java.lang.Integer", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andPayInOrderIdBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("pay_in_order_id", value1, value2, ConditionMode.BETWEEN, "payInOrderId", "java.lang.Integer", "Float");
    	  return this;
      }

      public PayInOrderDetailCriteria andPayInOrderIdNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("pay_in_order_id", value1, value2, ConditionMode.NOT_BETWEEN, "payInOrderId", "java.lang.Integer", "Float");
          return this;
      }
        
      public PayInOrderDetailCriteria andPayInOrderIdIn(List<java.lang.Integer> values) {
          addCriterion("pay_in_order_id", values, ConditionMode.IN, "payInOrderId", "java.lang.Integer", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andPayInOrderIdNotIn(List<java.lang.Integer> values) {
          addCriterion("pay_in_order_id", values, ConditionMode.NOT_IN, "payInOrderId", "java.lang.Integer", "Float");
          return this;
      }
	public PayInOrderDetailCriteria andProductIdIsNull() {
		isnull("product_id");
		return this;
	}
	
	public PayInOrderDetailCriteria andProductIdIsNotNull() {
		notNull("product_id");
		return this;
	}
	
	public PayInOrderDetailCriteria andProductIdIsEmpty() {
		empty("product_id");
		return this;
	}

	public PayInOrderDetailCriteria andProductIdIsNotEmpty() {
		notEmpty("product_id");
		return this;
	}
        public PayInOrderDetailCriteria andProductIdLike(java.lang.String value) {
    	   addCriterion("product_id", value, ConditionMode.FUZZY, "productId", "java.lang.String", "Float");
    	   return this;
      }

      public PayInOrderDetailCriteria andProductIdNotLike(java.lang.String value) {
          addCriterion("product_id", value, ConditionMode.NOT_FUZZY, "productId", "java.lang.String", "Float");
          return this;
      }
      public PayInOrderDetailCriteria andProductIdEqualTo(java.lang.String value) {
          addCriterion("product_id", value, ConditionMode.EQUAL, "productId", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andProductIdNotEqualTo(java.lang.String value) {
          addCriterion("product_id", value, ConditionMode.NOT_EQUAL, "productId", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andProductIdGreaterThan(java.lang.String value) {
          addCriterion("product_id", value, ConditionMode.GREATER_THEN, "productId", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andProductIdGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("product_id", value, ConditionMode.GREATER_EQUAL, "productId", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andProductIdLessThan(java.lang.String value) {
          addCriterion("product_id", value, ConditionMode.LESS_THEN, "productId", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andProductIdLessThanOrEqualTo(java.lang.String value) {
          addCriterion("product_id", value, ConditionMode.LESS_EQUAL, "productId", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andProductIdBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("product_id", value1, value2, ConditionMode.BETWEEN, "productId", "java.lang.String", "String");
    	  return this;
      }

      public PayInOrderDetailCriteria andProductIdNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("product_id", value1, value2, ConditionMode.NOT_BETWEEN, "productId", "java.lang.String", "String");
          return this;
      }
        
      public PayInOrderDetailCriteria andProductIdIn(List<java.lang.String> values) {
          addCriterion("product_id", values, ConditionMode.IN, "productId", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andProductIdNotIn(List<java.lang.String> values) {
          addCriterion("product_id", values, ConditionMode.NOT_IN, "productId", "java.lang.String", "String");
          return this;
      }
	public PayInOrderDetailCriteria andProductNameIsNull() {
		isnull("product_name");
		return this;
	}
	
	public PayInOrderDetailCriteria andProductNameIsNotNull() {
		notNull("product_name");
		return this;
	}
	
	public PayInOrderDetailCriteria andProductNameIsEmpty() {
		empty("product_name");
		return this;
	}

	public PayInOrderDetailCriteria andProductNameIsNotEmpty() {
		notEmpty("product_name");
		return this;
	}
        public PayInOrderDetailCriteria andProductNameLike(java.lang.String value) {
    	   addCriterion("product_name", value, ConditionMode.FUZZY, "productName", "java.lang.String", "String");
    	   return this;
      }

      public PayInOrderDetailCriteria andProductNameNotLike(java.lang.String value) {
          addCriterion("product_name", value, ConditionMode.NOT_FUZZY, "productName", "java.lang.String", "String");
          return this;
      }
      public PayInOrderDetailCriteria andProductNameEqualTo(java.lang.String value) {
          addCriterion("product_name", value, ConditionMode.EQUAL, "productName", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andProductNameNotEqualTo(java.lang.String value) {
          addCriterion("product_name", value, ConditionMode.NOT_EQUAL, "productName", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andProductNameGreaterThan(java.lang.String value) {
          addCriterion("product_name", value, ConditionMode.GREATER_THEN, "productName", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andProductNameGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("product_name", value, ConditionMode.GREATER_EQUAL, "productName", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andProductNameLessThan(java.lang.String value) {
          addCriterion("product_name", value, ConditionMode.LESS_THEN, "productName", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andProductNameLessThanOrEqualTo(java.lang.String value) {
          addCriterion("product_name", value, ConditionMode.LESS_EQUAL, "productName", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andProductNameBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("product_name", value1, value2, ConditionMode.BETWEEN, "productName", "java.lang.String", "String");
    	  return this;
      }

      public PayInOrderDetailCriteria andProductNameNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("product_name", value1, value2, ConditionMode.NOT_BETWEEN, "productName", "java.lang.String", "String");
          return this;
      }
        
      public PayInOrderDetailCriteria andProductNameIn(List<java.lang.String> values) {
          addCriterion("product_name", values, ConditionMode.IN, "productName", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andProductNameNotIn(List<java.lang.String> values) {
          addCriterion("product_name", values, ConditionMode.NOT_IN, "productName", "java.lang.String", "String");
          return this;
      }
	public PayInOrderDetailCriteria andProductPriceIsNull() {
		isnull("product_price");
		return this;
	}
	
	public PayInOrderDetailCriteria andProductPriceIsNotNull() {
		notNull("product_price");
		return this;
	}
	
	public PayInOrderDetailCriteria andProductPriceIsEmpty() {
		empty("product_price");
		return this;
	}

	public PayInOrderDetailCriteria andProductPriceIsNotEmpty() {
		notEmpty("product_price");
		return this;
	}
       public PayInOrderDetailCriteria andProductPriceEqualTo(java.math.BigDecimal value) {
          addCriterion("product_price", value, ConditionMode.EQUAL, "productPrice", "java.math.BigDecimal", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andProductPriceNotEqualTo(java.math.BigDecimal value) {
          addCriterion("product_price", value, ConditionMode.NOT_EQUAL, "productPrice", "java.math.BigDecimal", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andProductPriceGreaterThan(java.math.BigDecimal value) {
          addCriterion("product_price", value, ConditionMode.GREATER_THEN, "productPrice", "java.math.BigDecimal", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andProductPriceGreaterThanOrEqualTo(java.math.BigDecimal value) {
          addCriterion("product_price", value, ConditionMode.GREATER_EQUAL, "productPrice", "java.math.BigDecimal", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andProductPriceLessThan(java.math.BigDecimal value) {
          addCriterion("product_price", value, ConditionMode.LESS_THEN, "productPrice", "java.math.BigDecimal", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andProductPriceLessThanOrEqualTo(java.math.BigDecimal value) {
          addCriterion("product_price", value, ConditionMode.LESS_EQUAL, "productPrice", "java.math.BigDecimal", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andProductPriceBetween(java.math.BigDecimal value1, java.math.BigDecimal value2) {
    	  addCriterion("product_price", value1, value2, ConditionMode.BETWEEN, "productPrice", "java.math.BigDecimal", "Float");
    	  return this;
      }

      public PayInOrderDetailCriteria andProductPriceNotBetween(java.math.BigDecimal value1, java.math.BigDecimal value2) {
          addCriterion("product_price", value1, value2, ConditionMode.NOT_BETWEEN, "productPrice", "java.math.BigDecimal", "Float");
          return this;
      }
        
      public PayInOrderDetailCriteria andProductPriceIn(List<java.math.BigDecimal> values) {
          addCriterion("product_price", values, ConditionMode.IN, "productPrice", "java.math.BigDecimal", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andProductPriceNotIn(List<java.math.BigDecimal> values) {
          addCriterion("product_price", values, ConditionMode.NOT_IN, "productPrice", "java.math.BigDecimal", "Float");
          return this;
      }
	public PayInOrderDetailCriteria andProductCountIsNull() {
		isnull("product_count");
		return this;
	}
	
	public PayInOrderDetailCriteria andProductCountIsNotNull() {
		notNull("product_count");
		return this;
	}
	
	public PayInOrderDetailCriteria andProductCountIsEmpty() {
		empty("product_count");
		return this;
	}

	public PayInOrderDetailCriteria andProductCountIsNotEmpty() {
		notEmpty("product_count");
		return this;
	}
       public PayInOrderDetailCriteria andProductCountEqualTo(java.lang.Integer value) {
          addCriterion("product_count", value, ConditionMode.EQUAL, "productCount", "java.lang.Integer", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andProductCountNotEqualTo(java.lang.Integer value) {
          addCriterion("product_count", value, ConditionMode.NOT_EQUAL, "productCount", "java.lang.Integer", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andProductCountGreaterThan(java.lang.Integer value) {
          addCriterion("product_count", value, ConditionMode.GREATER_THEN, "productCount", "java.lang.Integer", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andProductCountGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("product_count", value, ConditionMode.GREATER_EQUAL, "productCount", "java.lang.Integer", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andProductCountLessThan(java.lang.Integer value) {
          addCriterion("product_count", value, ConditionMode.LESS_THEN, "productCount", "java.lang.Integer", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andProductCountLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("product_count", value, ConditionMode.LESS_EQUAL, "productCount", "java.lang.Integer", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andProductCountBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("product_count", value1, value2, ConditionMode.BETWEEN, "productCount", "java.lang.Integer", "Float");
    	  return this;
      }

      public PayInOrderDetailCriteria andProductCountNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("product_count", value1, value2, ConditionMode.NOT_BETWEEN, "productCount", "java.lang.Integer", "Float");
          return this;
      }
        
      public PayInOrderDetailCriteria andProductCountIn(List<java.lang.Integer> values) {
          addCriterion("product_count", values, ConditionMode.IN, "productCount", "java.lang.Integer", "Float");
          return this;
      }

      public PayInOrderDetailCriteria andProductCountNotIn(List<java.lang.Integer> values) {
          addCriterion("product_count", values, ConditionMode.NOT_IN, "productCount", "java.lang.Integer", "Float");
          return this;
      }
	public PayInOrderDetailCriteria andRemarkIsNull() {
		isnull("remark");
		return this;
	}
	
	public PayInOrderDetailCriteria andRemarkIsNotNull() {
		notNull("remark");
		return this;
	}
	
	public PayInOrderDetailCriteria andRemarkIsEmpty() {
		empty("remark");
		return this;
	}

	public PayInOrderDetailCriteria andRemarkIsNotEmpty() {
		notEmpty("remark");
		return this;
	}
        public PayInOrderDetailCriteria andRemarkLike(java.lang.String value) {
    	   addCriterion("remark", value, ConditionMode.FUZZY, "remark", "java.lang.String", "Float");
    	   return this;
      }

      public PayInOrderDetailCriteria andRemarkNotLike(java.lang.String value) {
          addCriterion("remark", value, ConditionMode.NOT_FUZZY, "remark", "java.lang.String", "Float");
          return this;
      }
      public PayInOrderDetailCriteria andRemarkEqualTo(java.lang.String value) {
          addCriterion("remark", value, ConditionMode.EQUAL, "remark", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andRemarkNotEqualTo(java.lang.String value) {
          addCriterion("remark", value, ConditionMode.NOT_EQUAL, "remark", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andRemarkGreaterThan(java.lang.String value) {
          addCriterion("remark", value, ConditionMode.GREATER_THEN, "remark", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andRemarkGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("remark", value, ConditionMode.GREATER_EQUAL, "remark", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andRemarkLessThan(java.lang.String value) {
          addCriterion("remark", value, ConditionMode.LESS_THEN, "remark", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andRemarkLessThanOrEqualTo(java.lang.String value) {
          addCriterion("remark", value, ConditionMode.LESS_EQUAL, "remark", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andRemarkBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("remark", value1, value2, ConditionMode.BETWEEN, "remark", "java.lang.String", "String");
    	  return this;
      }

      public PayInOrderDetailCriteria andRemarkNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("remark", value1, value2, ConditionMode.NOT_BETWEEN, "remark", "java.lang.String", "String");
          return this;
      }
        
      public PayInOrderDetailCriteria andRemarkIn(List<java.lang.String> values) {
          addCriterion("remark", values, ConditionMode.IN, "remark", "java.lang.String", "String");
          return this;
      }

      public PayInOrderDetailCriteria andRemarkNotIn(List<java.lang.String> values) {
          addCriterion("remark", values, ConditionMode.NOT_IN, "remark", "java.lang.String", "String");
          return this;
      }
}